package com.kob.backend.controller.user.bot;

import com.kob.backend.pojo.Bot;
import com.kob.backend.service.user.bot.GetListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author molimark<br />
 * @date: 2023/3/11 9:19<br/>
 * @description: <br/>
 */

@RestController
@RequestMapping("/api")
public class GetListController {
    @Autowired
    private GetListService getListService;

    @GetMapping("/user/bot/getList/")
    public List<Bot> getList(){
        return getListService.getList();
    }
}
